package com.hnx.admin.aurora.system.mapper.roleDept;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

public interface RoleDeptMapper {
    int removeRoleDept(String[] roleIds);
    @Delete("delete from sys_role_dept where role_id=#{roleId}")
    int removeRoleIdDept(String roleId);
    int insertRoleDept(@Param("roleId")String roleId,@Param("deptIds")String[] deptIds);
}
